package com.itcat.service;/*
 * @Author: gonhsl
 * @Date:2022-04-04-10:02
 * */

import com.itcat.mysql.pojo.SmsFlashPromotionSession;
import com.itcat.mysql.vo.SmsFlashPromotionSessionDetail;

import java.util.List;

public interface SmsFlashPromotionSessionService {
    List<SmsFlashPromotionSession> list();

    List<SmsFlashPromotionSessionDetail> selectList(Integer flashPromotionId);

    void create(SmsFlashPromotionSession smsFlashPromotionSession);

    void delete(Integer id);

    void updateByStatus(Integer id, Integer status);

    void update(Integer id, SmsFlashPromotionSession smsFlashPromotionSession);

    SmsFlashPromotionSession findOne(Integer id);
}
